//
//  UIImage+ZHExtension.h
//  KLCategory
//
//  Created by zhusanbao on 2020/10/19.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (ZHExtension)

//拉伸图片UIImageResizingModeTile
- (UIImage *)stretchImage;

- (UIImage *)stretchImageOffset:(CGSize)offset;
//图片置灰
-(UIImage *)changeGrayImage:(UIImage *)oldImage;

+ (UIImage *)imageNamed:(NSString *)name tint:(UIColor *)tintColor renderingMode:(UIImageRenderingMode)mode;

+ (UIImage *)imageNamed:(NSString *)name tint:(UIColor *)tintColor;

+ (UIImage *)imageWithContentsOfFile:(NSString *)path tint:(UIColor *)tintColor;

@end

NS_ASSUME_NONNULL_END
